import request from "../uniHttp"

export const getAllTeacehrs = (data) => {
	return request({
		url: '/api/sczx/tutorship/consCnDuty/list',
		data: data
	})
}

export const getAllTeacehrsPage = (data) => {
	return request({
		url: '/api/sczx/tutorship/consCnDuty/page',
		data: data
	})
}

// 查询咨询师 
export const getTeacehr = (data) => {
	return request({
		url: '/api/sczx/tutorship/consCnDuty/detailById',
		data: data
	})
}

// 新增预约
export const createAppoint = (data) => {
	return request({
		url: '/api/sczx/tutorship/consAdvisory/create',
		data: data
	})
}

// 预约填写的问题 
export const getQuestions = (data) => {
	return request({
		url: '/api/sczx/tutorship/consProblem/list',
		data: data
	})
}

// 查询预约列表 
export const getAdvisorys = (data) => {
	return request({
		url: '/api/sczx/tutorship/consAdvisory/list',
		data: data
	})

}

// 根据时间查询预约列表 
export const getAdvisorysByTime = (data) => {
	return request({
		url: '/api/sczx/tutorship/consCnDuty/list',
		data: data
	})
}